﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace 客户端
{
    public partial class Mainform : Form
    {
        public Mainform()
        {
            InitializeComponent();
            选购界面 选购界面 = new 选购界面();
            选购界面.MdiParent = this;
            选购界面.Show();
        }

        private void 选购界面ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            选购界面 选购界面 = new 选购界面();
            选购界面.MdiParent = this;
            选购界面.Show();
        }

        private void 购买记录ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            购买记录 购买记录 = new 购买记录();
            购买记录.MdiParent = this;
            购买记录.Show();
        }

        private void 购物车ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            购物车 购物车 = new 购物车();
            购物车.MdiParent = this;
            购物车.Show();
        }

        private void 个人信息ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            个人信息 个人信息 = new 个人信息();
            个人信息.MdiParent = this;
            个人信息.Show();
        }

        private void 修改密码ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            修改密码 修改密码 = new 修改密码();
            修改密码.MdiParent = this;
            修改密码.Show();
        }

        private void 退出系统ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Environment.Exit(0);
        }
    }
}
